package cn.xawl.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.xawl.common.utils.PageUtils;
import cn.xawl.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lh
 * @email lhm49869999@163.com
 * @date 2020-06-17 19:43:36
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据purchaseId查询出所有的采购需求
     * @param id 采购单id
     * @return 对应的采购需求列表
     */
    List<PurchaseDetailEntity> getDetailByPurchaseId(Long id);
}

